using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using FutureOpen.Web.Pages;
using FutureOpen.Core;
using FutureOpen.Core.func;
using FutureOpen.Core.func.db;
using System.Text;
using System.Collections.Generic;


public partial class controls_SuggestJobs : System.Web.UI.UserControl
{
    private int cat;    
    protected void Page_Load(object sender, EventArgs e)
    {
        /*
        if (!Page.IsPostBack)
        {
            LoadHotInfos();
        }
         */       
    }
    public void LoadHotInfos()
    {
        MyArt myart = new MyArt();
        IList<Art> arts = myart.GetHotArtsByType(5, cat, ArtType.ARTTYPE_JOB);
        this.GridView1.DataSource = arts;
        this.GridView1.DataBind();
    }
}